package cn.myframe.service.sys.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.myframe.dao.sys.SysMessageDao;
import cn.myframe.entity.sys.SysMessageEntity;
import cn.myframe.service.sys.SysMessageService;



@Service("sysMessageService")
public class SysMessageServiceImpl implements SysMessageService {
	
	@Autowired
	private SysMessageDao sysMessageDao;

	@Override
	public int selectForMsg(SysMessageEntity message,List<Long> users){
		
		return sysMessageDao.selectForMsg(message,users);
	}


	@Override
	public int checkAuthority(SysMessageEntity message, String authority, Long operatorNo){
		
		return sysMessageDao.checkAuthority(message, authority, operatorNo);
	}

}
